package io.renren.modules.project.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.ren.entity.RenRecordEntity;
import io.renren.modules.sys.entity.SysUserEntity;

import java.util.Map;

/**
 * 职工档案表（项目管理）
 *
 * @author ygg
 * @date 2020-02-11 11:50:15
 */
public interface RenProjectService extends IService<RenRecordEntity> {

    /**
     * 从人事管理获取职工的个人信息
     * @param params
     * @return
     */
    RenRecordEntity getRecord(Map<String, Object> params) throws Exception ;

    RenRecordEntity getRecordByAccount(String useraccount);

    SysUserEntity getUserByAccount(String useraccount);
}

